/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
}

/* 侧边栏导航样式 */
.sidebar {
    width: 200px;
    background-color: #333;
    color: white;
    padding: 20px;
}

.sidebar ul {
    list-style-type: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
}

/* 主要内容区域样式 */
.main-content {
    flex: 1;
    padding: 20px;
}

/* 博主信息及封面样式 */
.blogger-info {
    margin-bottom: 20px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.cover {
    position: relative;
}

.cover img {
    width: 100%;
    height: auto;
}

.blogger-profile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.follow-btn {
    background-color: #007BFF;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    margin-top: 10px;
}

.stats {
    margin-top: 5px;
}

/* 博客文章列表样式 */
.blog-posts {
    display: flex;
    flex-direction: column;
}

.blog-post {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
    margin-bottom: 10px;
}

.blog-post h2 a {
    color: #333;
    text-decoration: none;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.edit-btn,
.read-btn {
    background-color: #007BFF;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    text-decoration: none;
}

/* 侧边栏小工具样式 */
.sidebar-widgets {
    width: 250px;
    background-color: #333;
    color: white;
    padding: 20px;
}

.calendar-widget img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.calendar h3 {
    margin-bottom: 10px;
}

.calendar table {
    width: 100%;
    border-collapse: collapse;
}

.calendar table th,
.calendar table td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: center;
}

.links-widget h3,
.tags-widget h3 {
    margin-bottom: 10px;
}

.links-widget ul,
.tags-widget ul {
    list-style-type: none;
}

.links-widget ul li,
.tags-widget ul li {
    margin-bottom: 5px;
}

.links-widget ul li a,
.tags-widget ul li a {
    color: white;
    text-decoration: none;
}